#pragma once

#include <string>
#include <vector>

#include "ListItem.h"

class ListModel
{
protected:

    std::vector<ListItem> items;

public:

    void LoadDir( const std::wstring& dirName );
    void UpdateItem( int item );

    const ListItem& GetItem(int i) 
    { 
        return items[i];
    }

    int Count() { 
        return items.size();
    }
};
